#-------------------------------------------------------------------------------------------------------
all: \
		vcs \
		sim \
		verdi

regone:vcs sim
#-------------------------------------------------------------------------------------------------------
vcs   :
	vcs  \
              -f file_list \
              -timescale=1ns/1ns \
              -fsdb  -full64  -R  +vc  +v2k  -sverilog  -debug_all  \
              -P ${LD_LIBRARY_PATH}/novas.tab  ${LD_LIBRARY_PATH}/pli.a  \
              |tee vcs.log  
			  #./simv -l sim.log
#-------------------------------------------------------------------------------------------------------
sim	:
	./simv -l sim.log

#-------------------------------------------------------------------------------------------------------

verdi  :
	verdi -sv -f file_list -ssf tb.fsdb &
#-------------------------------------------------------------------------------------------------------
clean  :
	 rm  -rf  *~  core  csrc  simv*  vc_hdrs.h  ucli.key  urg* *.log  novas.* *.fsdb* verdiLog  64* DVEfiles *.vpd
#-------------------------------------------------------------------------------------------------------
